/**
 * 
 */
package com.fetaoily.aries;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

/**
 * @author Ertao.Fang
 * 
 */
@Controller
public class TilesController {
	@RequestMapping(value = "/layout/{layoutName}", method = RequestMethod.GET)
	public String layout(@PathVariable String layoutName) {
		return "/layout/" + layoutName;
	}

	@RequestMapping(value = "/common/{layoutName}", method = RequestMethod.GET)
	public String common(@PathVariable String layoutName) {
		return "/common/" + layoutName;
	}
}
